After retrieving the details using the getLoan API, use the details of that loan to complete the fields in the Pricing API.
The response body includes a list of resultRates, which include a list of "lineresults" in the resultMap.resultRates.data field. Use the lineresult Id when completing the Get Price quote step of the Export Pricing flow.
Note: The pricing API contains over 200 fields to fine tune the search as desired. See Pricing Request for greater detail on completing a pricing request.
/rest/v1/lp-ppe-api/pricing/search?userIdToUse={userId}
secret
The {userId} is your company Id.
The {search} parameter will be "search."
The body of the request is a json object containing the details of the loan you are pricing. Complete the relevant fields from the getLoan request.
See Pricing Request for greater detail on completing a pricing request.
Use the lineResultId in the resultMap.resultRates.data field in the next steps.
See Pricing Response for details the response and lineResults.